package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_GoodsAllocation", catalog="Guid")
public class TccGoodsAllocation extends BaseEntity<TccGoodsAllocation> {

	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="GoodsAllocation", nameJava="goodsAllocation", typeDataBase="varchar")
	private String goodsAllocation;
	@YsField(nameDataBase="GoodsArea", nameJava="goodsArea", typeDataBase="varchar")
	private String goodsArea;
	@YsField(nameDataBase="WarehouseAddress", nameJava="warehouseAddress", typeDataBase="varchar")
	private String warehouseAddress;
	@YsField(nameDataBase="LocationID", nameJava="locationID", typeDataBase="varchar")
	private String locationID;
	@YsField(nameDataBase="vBz", nameJava="vBz", typeDataBase="varchar")
	private String vBz;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;

	public String getGuid() {
		return guid;
	}
	public TccGoodsAllocation setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getGoodsAllocation() {
		return goodsAllocation;
	}
	public TccGoodsAllocation setGoodsAllocation(String goodsAllocation) {
		this.goodsAllocation = goodsAllocation;
		return this;
	}
	public String getGoodsArea() {
		return goodsArea;
	}
	public TccGoodsAllocation setGoodsArea(String goodsArea) {
		this.goodsArea = goodsArea;
		return this;
	}
	public String getWarehouseAddress() {
		return warehouseAddress;
	}
	public TccGoodsAllocation setWarehouseAddress(String warehouseAddress) {
		this.warehouseAddress = warehouseAddress;
		return this;
	}
	public String getLocationID() {
		return locationID;
	}
	public TccGoodsAllocation setLocationID(String locationID) {
		this.locationID = locationID;
		return this;
	}
	public String getVBz() {
		return vBz;
	}
	public TccGoodsAllocation setVBz(String vBz) {
		this.vBz = vBz;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccGoodsAllocation setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public TccGoodsAllocation setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccGoodsAllocation setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public TccGoodsAllocation setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}

	public static TccGoodsAllocation tccGoodsAllocation(
		String guid,
		String goodsAllocation,
		String goodsArea,
		String warehouseAddress,
		String locationID,
		String vBz,
		String createUser,
		String updateUser
			) {
		TccGoodsAllocation entity = new TccGoodsAllocation();
		entity.setGuid(guid);
		entity.setGoodsAllocation(goodsAllocation);
		entity.setGoodsArea(goodsArea);
		entity.setWarehouseAddress(warehouseAddress);
		entity.setLocationID(locationID);
		entity.setVBz(vBz);
		entity.setCreateUser(createUser);
		entity.setUpdateUser(updateUser);
		return entity;
	}
}